package com.briup.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @TableName quarantine_registration
 */
@TableName(value = "quarantine_registration")
@ApiModel("检疫信息实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class QuarantineRegistration implements Serializable {
    /**
     * 记录id
     */
    @TableId(type = IdType.AUTO)
    private Integer grId;

    /**
     * 检疫时间
     */
    private LocalDateTime grTime;

    /**
     * 检疫证明图片
     */
    private String grImg;

    /**
     * 检疫机构
     */
    private String grMechanism;

    /**
     * 批次id
     */
    private String grBatchId;

    /**
     * 检疫结果
     */
    private String bQualified;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}